import Vue from 'vue'
import App from './App.vue'
import router from './router'
import Star from './packages'
import element from 'element-ui'
import * as filters from './utils/filter'
import './plugins/element.js'
import VueClipboard from 'vue-clipboard2'
import VueSeamlessScroll from 'vue-seamless-scroll' // 循环滚动
import VXETable from 'vxe-table'

import 'vxe-table/lib/style.css'
Vue.use(VueClipboard)
Vue.use(VueSeamlessScroll)
Vue.use(VXETable)

Vue.config.productionTip = false

Vue.use(Star)
Vue.use(element)
// 过滤器
Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
